package cn.stylefeng.guns.modular.transport.mapper;

import cn.stylefeng.guns.modular.transport.entity.TransportAddressEdit;
import cn.stylefeng.guns.modular.transport.model.params.TransportAddressEditParam;
import cn.stylefeng.guns.modular.transport.model.result.TransportAddressEditResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 地址修改申请表 Mapper 接口
 * </p>
 *
 * @author zhucx
 * @since 2023-11-21
 */
public interface TransportAddressEditMapper extends BaseMapper<TransportAddressEdit> {

    /**
     * 获取列表
     *
     * @author zhucx
     * @Date 2023-11-21
     */
    List<TransportAddressEditResult> customList(@Param("paramCondition") TransportAddressEditParam paramCondition);

    /**
     * 获取map列表
     *
     * @author zhucx
     * @Date 2023-11-21
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") TransportAddressEditParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author zhucx
     * @Date 2023-11-21
     */
    Page<TransportAddressEditResult> customPageList(@Param("page") Page page, @Param("paramCondition") TransportAddressEditParam paramCondition, @Param("condition") String condition, @Param("operateId")Long operateId);

    /**
     * 获取分页map列表
     *
     * @author zhucx
     * @Date 2023-11-21
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") TransportAddressEditParam paramCondition);

}
